<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: I2C Slave Status</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__scb__i2c__macros__slave__status.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">I2C Slave Status<div class="ingroups"><a class="el" href="group__group__scb.html">SCB          (Serial Communication Block)</a> &raquo; <a class="el" href="group__group__scb__i2c.html">I2C (SCB)</a> &raquo; <a class="el" href="group__group__scb__i2c__macros.html">Macros</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<p>Macros to check current I2C slave status returned by <a class="el" href="group__group__scb__i2c__slave__functions.html#gab3e1c474d6a5c7c5547ea08aa5d59e22">Cy_SCB_I2C_SlaveGetStatus</a> function. </p>
<p>Each I2C slave status is encoded in a separate bit, therefore multiple bits may be set to indicate the current status. </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga2e400c423f7250710ddda059ff554c10"><td class="memItemLeft" align="right" valign="top"><a id="ga2e400c423f7250710ddda059ff554c10"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__scb__i2c__macros__slave__status.html#ga2e400c423f7250710ddda059ff554c10">CY_SCB_I2C_SLAVE_RD_BUSY</a>&#160;&#160;&#160;(0x00000001UL)</td></tr>
<tr class="memdesc:ga2e400c423f7250710ddda059ff554c10"><td class="mdescLeft">&#160;</td><td class="mdescRight">There is a read transaction in progress. <br /></td></tr>
<tr class="separator:ga2e400c423f7250710ddda059ff554c10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1cdebdd1275e23a1e08030fad09672a7"><td class="memItemLeft" align="right" valign="top"><a id="ga1cdebdd1275e23a1e08030fad09672a7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__scb__i2c__macros__slave__status.html#ga1cdebdd1275e23a1e08030fad09672a7">CY_SCB_I2C_SLAVE_RD_IN_FIFO</a>&#160;&#160;&#160;(0x00000002UL)</td></tr>
<tr class="memdesc:ga1cdebdd1275e23a1e08030fad09672a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">All read data has been loaded into the TX FIFO, applicable only if the TX FIFO is used. <br /></td></tr>
<tr class="separator:ga1cdebdd1275e23a1e08030fad09672a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8445a80c064b85b48f4cb89afa4880ae"><td class="memItemLeft" align="right" valign="top"><a id="ga8445a80c064b85b48f4cb89afa4880ae"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__scb__i2c__macros__slave__status.html#ga8445a80c064b85b48f4cb89afa4880ae">CY_SCB_I2C_SLAVE_RD_CMPLT</a>&#160;&#160;&#160;(0x00000004UL)</td></tr>
<tr class="memdesc:ga8445a80c064b85b48f4cb89afa4880ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">The master has finished reading data from the slave. <br /></td></tr>
<tr class="separator:ga8445a80c064b85b48f4cb89afa4880ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9804bb839aeb7a7334ae610ada4496ca"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__scb__i2c__macros__slave__status.html#ga9804bb839aeb7a7334ae610ada4496ca">CY_SCB_I2C_SLAVE_RD_UNDRFL</a>&#160;&#160;&#160;(0x00000008UL)</td></tr>
<tr class="memdesc:ga9804bb839aeb7a7334ae610ada4496ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set when the master tried to read more bytes than available in the configured read buffer.  <a href="#ga9804bb839aeb7a7334ae610ada4496ca">More...</a><br /></td></tr>
<tr class="separator:ga9804bb839aeb7a7334ae610ada4496ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga53cab9166005ca6c89ed24a4871bb5bd"><td class="memItemLeft" align="right" valign="top"><a id="ga53cab9166005ca6c89ed24a4871bb5bd"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__scb__i2c__macros__slave__status.html#ga53cab9166005ca6c89ed24a4871bb5bd">CY_SCB_I2C_SLAVE_WR_BUSY</a>&#160;&#160;&#160;(0x00000010UL)</td></tr>
<tr class="memdesc:ga53cab9166005ca6c89ed24a4871bb5bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">There is a write transaction in progress. <br /></td></tr>
<tr class="separator:ga53cab9166005ca6c89ed24a4871bb5bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0e917e7b1f8b297bb97716a0a742a14a"><td class="memItemLeft" align="right" valign="top"><a id="ga0e917e7b1f8b297bb97716a0a742a14a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__scb__i2c__macros__slave__status.html#ga0e917e7b1f8b297bb97716a0a742a14a">CY_SCB_I2C_SLAVE_WR_CMPLT</a>&#160;&#160;&#160;(0x00000020UL)</td></tr>
<tr class="memdesc:ga0e917e7b1f8b297bb97716a0a742a14a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The master has finished writing data into the slave. <br /></td></tr>
<tr class="separator:ga0e917e7b1f8b297bb97716a0a742a14a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga72fb4c9b77ebeb06e36f7b74eb9f0a6f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__scb__i2c__macros__slave__status.html#ga72fb4c9b77ebeb06e36f7b74eb9f0a6f">CY_SCB_I2C_SLAVE_WR_OVRFL</a>&#160;&#160;&#160;(0x00000040UL)</td></tr>
<tr class="memdesc:ga72fb4c9b77ebeb06e36f7b74eb9f0a6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The master attempted to write more bytes than space available in the configured Write buffer.  <a href="#ga72fb4c9b77ebeb06e36f7b74eb9f0a6f">More...</a><br /></td></tr>
<tr class="separator:ga72fb4c9b77ebeb06e36f7b74eb9f0a6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga63fcc61bddf39d12a85172f776a34d7b"><td class="memItemLeft" align="right" valign="top"><a id="ga63fcc61bddf39d12a85172f776a34d7b"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__scb__i2c__macros__slave__status.html#ga63fcc61bddf39d12a85172f776a34d7b">CY_SCB_I2C_SLAVE_ARB_LOST</a>&#160;&#160;&#160;(0x00000080UL)</td></tr>
<tr class="memdesc:ga63fcc61bddf39d12a85172f776a34d7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">The slave lost arbitration, and the transaction was aborted. <br /></td></tr>
<tr class="separator:ga63fcc61bddf39d12a85172f776a34d7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga70d17df38c669816f83e69ac8ab02753"><td class="memItemLeft" align="right" valign="top"><a id="ga70d17df38c669816f83e69ac8ab02753"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__scb__i2c__macros__slave__status.html#ga70d17df38c669816f83e69ac8ab02753">CY_SCB_I2C_SLAVE_BUS_ERR</a>&#160;&#160;&#160;(0x00000100UL)</td></tr>
<tr class="memdesc:ga70d17df38c669816f83e69ac8ab02753"><td class="mdescLeft">&#160;</td><td class="mdescRight">The slave captured an error on the bus during a master transaction (source of error is misplaced Start or Stop). <br /></td></tr>
<tr class="separator:ga70d17df38c669816f83e69ac8ab02753"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga9804bb839aeb7a7334ae610ada4496ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9804bb839aeb7a7334ae610ada4496ca">&#9670;&nbsp;</a></span>CY_SCB_I2C_SLAVE_RD_UNDRFL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SCB_I2C_SLAVE_RD_UNDRFL&#160;&#160;&#160;(0x00000008UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set when the master tried to read more bytes than available in the configured read buffer. </p>
<p>The slave is not able to finish the transaction and sends <a class="el" href="group__group__scb__i2c__macros.html#gad56a26de596ed39516b91adc50db4bf9">CY_SCB_I2C_DEFAULT_TX</a>. </p>

</div>
</div>
<a id="ga72fb4c9b77ebeb06e36f7b74eb9f0a6f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga72fb4c9b77ebeb06e36f7b74eb9f0a6f">&#9670;&nbsp;</a></span>CY_SCB_I2C_SLAVE_WR_OVRFL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SCB_I2C_SLAVE_WR_OVRFL&#160;&#160;&#160;(0x00000040UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The master attempted to write more bytes than space available in the configured Write buffer. </p>
<p>Note that all subsequent bytes are dropped. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
